package org.nuplay;

import javax.sound.midi.ShortMessage;

public class NuPlayMidiMessage extends ShortMessage {
	  public static final int SYSEX_START					= 240; // 240
	  
	public NuPlayMidiMessage(byte[] in_data) {
		super(in_data);
	}
	
    public String getStringMessage() {
    	byte[] buffer = super.getMessage();
    	String message = "";
    	//TODO: sending without carriage return!
    	for(int i = 1; i < buffer.length -1; i++) {
    		message += (char)buffer[i];
    	}
    	return message;
    }
}
